package client.pojo;


public class User {

  private int userId;
  private String userName;
  private int state;

  public User() {
  }

  public User(int userId, String userName, int state) {
    this.userId = userId;
    this.userName = userName;
    this.state = state;
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public int getState() {
    return state;
  }

  public void setState(int state) {
    this.state = state;
  }

  @Override
  public String toString() {
    return "User{" +
            "userId=" + userId +
            ", userName='" + userName + '\'' +
            ", state=" + state +
            '}';
  }
}
